package f.h.dragon.datastructures.bplustree;

/**
 * IStringTree: A tree which returns byte array values
 *
 * @author Wenlong Meng(wenlong.meng@gmail.com)
 * @version 1.0 at 2012/04/27
 * @since 1.0
 */
public interface IStringTree extends ITreeIndex {
	
	//Logic
	/**
	 * get the String associated with the key
	 * 
	 * @param key
	 * @return
	 * @throws Exception
	 */
	String get(String key) throws Exception;

	/**
	 * set key-value into tree
	 * 
	 * @param key
	 * @param value
	 * @throws Exception
	 */
	void set(String key, String value) throws Exception;
	
}